#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main()
{
	int arr[10] = { 1,3,4,5,7,9,8,2,6,10 };
	int max = arr[0];
	int i = 0;
	for (i = 0; i <= 11; ++i) {
		if (arr[i] > max) {
			max = arr[i];
		}

	}
	printf("%d", max);








	return 0;
}